import request from '@/utils/request'

// 宣教列表
export function pageList(query, current, pageSize) {
  return request({
    url: '/intoHosEdu/page/' + current + '/' + pageSize,
    method: 'get',
    params: query
  })
}

// 保存宣教
export function savePae(data) {
  return request({
    url: '/intoHosEdu/save',
    method: 'post',
    data: data
  })
}

// 根据预约id获取一条入院前宣教信息
export function read(id, query) {
  return request({
    url: '/intoHosEdu/read/' + id,
    method: 'get',
    params: query
  })
}
